import Mock from './mock.angular';

Mock.mock('/api/v1/message/query', 'post', (({ data }) => {
  const respData = {
    success: true,
    message: '',
    code: 200,
    'rows|20-100': [
      {
        id: '@id',
        content: '@name',
        'total|1-100': 1,
      },
    ],
  };
  return Mock.mock(respData);
}));
